home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 526-550 / disk_539 / rpn / source / rpn.h < prev    next >
C/C++ Source or Header  |  1992-05-06  |  1KB  |  41 lines

  1. /*-----------------------------------*
  2.  | File: RPN.h - MLO 900131 V1.00    |
  3.  | This file contains all #define's  |
  4.  | shared from more than one .c file |
  5.  *-----------------------------------*/
  6.  
  7. #include <stdio.h>                      /* #include's for all files */
  8. #include <exec/types.h>
  9. #include <intuition/intuition.h>
  10. #include <graphics/gfxbase.h>
  11.  
  12. #define SYS_NORMAL    0                 /* Completion codes */
  13. #define SYS_ERROR     1
  14.  
  15. #define BLUE_PEN      0                 /* Default Workbench setting */
  16. #define WHITE_PEN     1                 /*   for pen colors */
  17. #define BLACK_PEN     2
  18. #define RED_PEN       3
  19.  
  20. #define ENTER_CODE    29                /* Code of the ENTER button */
  21.  
  22. #define NSTACK        4                 /* Number of stack and register */
  23. #define NSTM1         3
  24. #define NREGS         10
  25. #define NACCS         6
  26.  
  27. #define REG_X0        18                /* Constants for register output */
  28. #define REG_Y0        10
  29. #define REG_DY        10
  30. #define ACC_X0        161
  31. #define ACC_Y0        10
  32. #define ACC_DY        10
  33. #define STK_X0        161
  34. #define STK_Y0        100
  35. #define STK_DY        10
  36.  
  37. #define INBUF_LEN     32                /* Length of the input buffer */
  38.  
  39. enum eBoolean         {False, True};    /* Boolean variables */
  40. typedef enum eBoolean Boolean;
  41.